def centerImage(img):
	"""sets anchor_x and anchor_y to center for center rotation and translation"""
	img.anchor_x = img.width/2
	img.anchor_y = img.height/2
	return img
